home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
flash_poker.swf
/
scripts
/
frame_19
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
261b
|
22 lines
if(cardvalue < "14")
{
suit = "1";
}
else if(CardValue < "27")
{
Suit = "2";
}
else if(CardValue < "40")
{
Suit = "3";
}
else if(CardValue < "53")
{
Suit = "4";
}
else
{
Suit = "5";
}
Card = CardValue - (Suit * "13" - "13");